package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;

import java.util.List;

public interface ConsumerService {
    List<ConsumerVO> findConsumerList(Consumer consumer);

    Integer addConsumer(Consumer consumer);

    ConsumerVO edit(Long id);

    Integer update(Long id, Consumer consumer);

    Integer delete(Long id);

    List<ConsumerVO> findAll();
}
